package com.example.cash;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class RemainMoneyFragment extends Fragment {
	private TextView textView;
	public static RemainMoneyFragment newInstance(int index) {
		RemainMoneyFragment remainMoneyFragment = new RemainMoneyFragment();
		return remainMoneyFragment;
	}
	public RemainMoneyFragment() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.remainmoneyfragment, container,
				false);
		textView = (TextView) view.findViewById(R.id.total);
		System.out.println("onCreateView");
		return view;
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onActivityCreated(savedInstanceState);
		System.out.println("onActivityCreated");
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		System.out.println("onCreate");

	}

}
